package edu.ccut.saturn.workflow.common;

import edu.ccut.saturn.component.DefaultComponent;
import edu.ccut.saturn.component.IParameterContext;

public class ThrowException extends DefaultComponent {
	@Override
	public void execute(IParameterContext parameterContext) throws Exception {
		String message = (String)parameterContext.getParameterValue(0);
			throw new Exception(message);
	}
}